package com.ojoin.trade.common_core.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.dao.BaseDao;
import com.ojoin.trade.common.web.service.impl.BaseServiceImpl;
import com.ojoin.trade.common_core.web.dao.TbRuntaskInfoDao;
import com.ojoin.trade.common_core.web.domain.TbRuntaskInfo;
import com.ojoin.trade.common_core.web.service.TbRuntaskInfoService;

/**
 * 定时任务执行情况 服务实现
 * @author guoting
 *
 */
@Service
public class TbRuntaskInfoServiceImpl extends BaseServiceImpl<TbRuntaskInfo> implements
	TbRuntaskInfoService {

	@Autowired
	private TbRuntaskInfoDao dao;
	
	@Override
	protected BaseDao<TbRuntaskInfo> getBaseDao() {
		return dao;
	}

	@Override
	public int insertRuntaskInfo(TbRuntaskInfo vo) throws BusinessException {
		return ((TbRuntaskInfoDao)getBaseDao()).insert(vo);
	}

	
}
